//
//  singalLIstViewCell.m
//  Mdongying
//
//  Created by mac pro -chenweishuai on 14-3-5.
//  Copyright (c) 2014年 伟帅陈. All rights reserved.
//

#import "singalLIstViewCell.h"

@implementation singalLIstViewCell

@synthesize backView=_backView,leftImageV=_leftImageV,nameLab=_nameLab,lightImageV = _lightImageV;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        
        _backView = [[UIView alloc] initWithFrame:CGRectMake(0,0,320,35)];
        _backView.backgroundColor = [UIColor whiteColor];
        [self addSubview:_backView];
        [_backView release];
        
        _leftImageV = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 2,35)];
        _leftImageV.backgroundColor = [UIColor clearColor];
        _leftImageV.hidden = YES;
        [_backView addSubview:_leftImageV];
        [_leftImageV release];
        
        _lightImageV = [[UIImageView alloc]initWithFrame:CGRectMake(0,39,320,1)];
        _lightImageV.backgroundColor = RGBCOLOR(229.0,226.0,225.0);
        _lightImageV.hidden = YES;
        [_backView addSubview:_lightImageV];
        [_lightImageV release];
        
        
        //name
        _nameLab = [[UILabel alloc] initWithFrame:CGRectMake(30,15, 100, 15)];
        _nameLab.backgroundColor = [UIColor clearColor];
        _nameLab.font = [UIFont systemFontOfSize:14];
        _nameLab.textColor = [UIColor blackColor];
        [_backView addSubview:_nameLab];
        [_nameLab release];
        
        
             
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
